package com.gwtrpc.testapp.client;

import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.types.DragAppearance;
import com.smartgwt.client.util.EventHandler;
import com.smartgwt.client.widgets.Canvas;
import com.smartgwt.client.widgets.Img;
import com.smartgwt.client.widgets.events.DropEvent;
import com.smartgwt.client.widgets.events.DropHandler;

public class DroppedPiece extends Img {
	
	  public DroppedPiece() {  
          setWidth(250);  
          setHeight(250); 
          //setWidth(200);  
         // setHeight(250);
         // setLayoutAlign(Alignment.CENTER);  
          setCanDragReposition(true);  
          setCanDrop(true);  
          setDragAppearance(DragAppearance.TARGET);  
      }  
		
		 
        
      public DroppedPiece(String src) {  
          this();  
          setSrc(src);  
      }  
  }  


